import axios from "../../req"
export const createReqDataAction = () => {
  return (dispatch) => {
    axios.get('/somelist').then((res) => {
      console.log(res.data);
      dispatch({ type: 'reqData', payload: res.data })
    })
  }
}